// @ts-ignore
/* eslint-disable */
import { request } from '@umijs/max';
const apiPrefix = '/web';

/** 序列号在线激活 序列号在线激活服务 POST /v2/ems/control/licence/activation */
export async function emsControllerActivationControllerValidateActivation(
  body: API.EmsControllerLicenceActivationV2Form,
  options?: { [key: string]: any },
) {
  return request<API.ApiResultEmsControllerLicenceV2Vo>(
    `${apiPrefix}/v2/ems/control/licence/activation`,
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    },
  );
}
